package com.example.dto.webchat;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 套餐表
 *
 * @author yyyyjinying 1020066395@qq.com
 * @since 1.0-SNAPSHOT 2025-04-29
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@Schema(description = "商品规格")
public class GoodSkuDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    @Schema(description = "skuId")
    private Long skuId;
    @Schema(description = "商品id")
    private Long goodsId;
    @Schema(description = "商品名称")
    private String goodsName;
    @Schema(description = "规格图片")
    private String image;
    @Schema(description = "规格组合")
    private String specification;
    @Schema(description = "商品成本价格")
    private BigDecimal cost;
    @Schema(description = "商品售卖价格")
    private BigDecimal price;
    @Schema(description = "库存量")
    private Integer stockQuantity;
    @Schema(description = "库存预警阈值")
    private Integer stockThreshold;
    @Schema(description = "规格list")
    private String specListStr;

}